/**
 * <p><b>Title:</b> ShellDelayPublish.java </p>
 * @Package com.wondertek.oes.charge.publish.config
 */
package com.wondertek.poms.pre.listener;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.data.redis.core.RedisTemplate;

import com.wondertek.poms.pre.manager.StartProcess;

/**
 * <p><b>ShellDelayPublish Description:</b> 壳延迟发布的问题 </p>
 * @author douzi
 * <b>DATE</b> 2019年9月17日 下午3:20:34
 */
//@Component
@Deprecated
public class AssetIdDelayPublish implements ApplicationRunner {
    @Autowired
    RedisTemplate redisTemplate;
	@Autowired
	StartProcess startProcess;
//    @Autowired
//    MessageSend messageSend;

	@Override
	public void run(ApplicationArguments args) throws Exception {
		CleanMamThread cleanShellThread = new CleanMamThread(this);
        Thread thread = new Thread(cleanShellThread, "assetId-publish-clean");
        thread.start();
	}
}
